VAR_BCD = 0x03

--clear registers and set z reg with add command
CLR A
CLR B
ADD A

-- test the BCD output
LOAD &VAR_BCD&, A
OUT A, 0

--loop forever, making sure to clear the watchdog timer
CLRWDT *loop*
BZ &loop&